# -*- encoding:utf-8 -*-
"""
@作者：ven
@文件名：record.py
@时间：2021-08-11  11:28
@文档说明:
"""
import requests
from common.GetConfig import test_ip,test_user_ip


class Record:
    def record(self,data):
        r = requests.post(url=test_user_ip() + "/sendStaffApi/addAttendLog.shtml", json=data,
                          headers={"Content-Type": "application/x-www-form-urlencoded"})


        return r.json()